EventCntr32
 
 
 Bean EventCntr32
 
Event counter 32-bit

Typical usage of the bean in user's code.

Typical Usage:

Required bean name is "EC321".

(1)
The following example waits for at least 100000 events in the event counter:

 MAIN.C

void main(void)
{
  EC321_Reset(); /* reset the event counter */
  
  /* wait for 100000 events */
  while( EC321_GetNumEvents()<100000 ) ;
  
}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.